package spea;

import java.util.Comparator;

public class DistanceComparator<Genotype> implements Comparator<Individual<Genotype>> {

	@Override
	public int compare(Individual<Genotype> c1, Individual<Genotype> c2) {
		return c1.getDistance().compareTo(c2.getDistance());
	}

}
